net/http.response.handlerDone (field)
5 uses
net/http (current package)
server.go#L482: handlerDone atomic.Bool // set true when the handler exits
server.go#L1371: if w.handlerDone.Load() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && !header.has("Content-Length") && (!isHEAD || len(p) > 0) {
server.go#L1709: w.handlerDone.Store(true)
server.go#L2156: if w.handlerDone.Load() {
server.go#L2179: if w.handlerDone.Load() {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |